gtk4.git
11 years agoopengl: Use proper blend function for premultiplied alpha
Alexander Larsson [Mon, 27 Oct 2014 20:13:28 +0000 (21:13 +0100)]
opengl: Use proper blend function for premultiplied alpha

11 years agogdkglcontext: Track whether to use GL_TEXTURE_2D or GL_TEXTURE_RECTANGL_ARB
Alexander Larsson [Mon, 27 Oct 2014 20:12:40 +0000 (21:12 +0100)]
gdkglcontext: Track whether to use GL_TEXTURE_2D or GL_TEXTURE_RECTANGL_ARB

11 years agocairoblur: Fix the blur again once more
Jasper St. Pierre [Mon, 27 Oct 2014 17:18:37 +0000 (10:18 -0700)]
cairoblur: Fix the blur again once more

The differences between the mutter and GTK+ code are subtle, but it
turns out that _gtk_cairo_blur_compute_pixels actually returns the
shadow *spread*. Since we use a triple box blur, the constant was
multiplied by 1.5 to approximate three chained box blurs. Split this
out and use the correct value for the lobe width.

11 years agocairoblur: Fix the blur code
Jasper St. Pierre [Mon, 27 Oct 2014 17:05:35 +0000 (10:05 -0700)]
cairoblur: Fix the blur code

We weren't passing in the right "d" value, which was causing the blur to
behave incorrectly, especially in the case of 1px blurs, which would
cause no blurs at all.

The blur should now match the web.

11 years agoRename gdk_gl_context_flush_buffer to gdk_gl_context_end_frame
Alexander Larsson [Mon, 27 Oct 2014 15:33:37 +0000 (16:33 +0100)]
Rename gdk_gl_context_flush_buffer to gdk_gl_context_end_frame

This makes a lot more sense.

11 years agoIndentation fix
Matthias Clasen [Mon, 27 Oct 2014 11:19:50 +0000 (07:19 -0400)]
Indentation fix

11 years agopopover menus: Take iconic into account
Sebastien Lafargue [Sat, 18 Oct 2014 09:19:26 +0000 (11:19 +0200)]
popover menus: Take iconic into account

We don't want separators in both side of an iconic section
and use a 10px margin to separate two iconic sections.

Separators are also updated in case of dynamic insertion
( often used with menu items for plugins )

https://bugzilla.gnome.org/show_bug.cgi?id=738650

11 years agoIgnore gdk-pixbuf deprecations
Matthias Clasen [Mon, 27 Oct 2014 11:05:22 +0000 (07:05 -0400)]
Ignore gdk-pixbuf deprecations

11 years agotestlevelbar: fix CSS to be aligned with documentation
Cosimo Cecchi [Fri, 24 Oct 2014 22:26:31 +0000 (15:26 -0700)]
testlevelbar: fix CSS to be aligned with documentation

https://bugzilla.gnome.org/show_bug.cgi?id=707695

11 years agolevelbar: don't use the current value style class for empty blocks
Cosimo Cecchi [Fri, 24 Oct 2014 22:25:36 +0000 (15:25 -0700)]
levelbar: don't use the current value style class for empty blocks

We want to be able to style the empty blocks independently of all the
offset styles, so remove the current style class when painting an empty
block.

https://bugzilla.gnome.org/show_bug.cgi?id=707695

11 years agotestlevelbar: don't segfault when quitting testlevelbar
Cosimo Cecchi [Fri, 24 Oct 2014 21:53:26 +0000 (14:53 -0700)]
testlevelbar: don't segfault when quitting testlevelbar

Quit the mainloop when the window is closed.

https://bugzilla.gnome.org/show_bug.cgi?id=707695

11 years agoquartz: Move the FullscreenSavedGeometry definition earlier
Matthias Clasen [Mon, 27 Oct 2014 10:49:46 +0000 (06:49 -0400)]
quartz: Move the FullscreenSavedGeometry definition earlier

Move the FullscreenSavedGeometry before the first (conditional)
use, to fix the build on OS X 10.6.

https://bugzilla.gnome.org/show_bug.cgi?id=737561

11 years agoquartz: fix build on 10.6 and below
Marcus Karlsson [Sun, 26 Oct 2014 11:26:48 +0000 (12:26 +0100)]
quartz: fix build on 10.6 and below

It is not possible to successfully build GTK+ on OS X 10.6 and below
since NSFullScreenWindowMask is only available starting with 10.7. Add
ifdef guards around setStyleMask: in order to allow it to build on
earlier OS X releases.

https://bugzilla.gnome.org/show_bug.cgi?id=737561

11 years agoReturn correct font from gtk_font_chooser_widget_find_font
Christophe Fergeau [Thu, 23 Oct 2014 19:13:29 +0000 (21:13 +0200)]
Return correct font from gtk_font_chooser_widget_find_font

Commit 30a1c4ab fixed several memleaks including one in
gtk_font_chooser_widget_find_font.

However, the fix causes one extra call to gtk_tree_model_iter_next()
after finding the font we look for (ie pango_font_description_equal
returns TRUE): the 'increment' part of the for loop
(gtk_tree_model_iter_next) is run before the 'exit condition' of the for
loop is evaluated.

This commit reverts this part of commit 30a1c4ab and adds an extra
call to pango_font_description_free in order to fix the leak.

https://bugzilla.gnome.org/show_bug.cgi?id=739111

11 years agofontchooserwidget: Don't invalidate priv->font_iter in load_fonts
Christophe Fergeau [Thu, 23 Oct 2014 21:30:35 +0000 (23:30 +0200)]
fontchooserwidget: Don't invalidate priv->font_iter in load_fonts

When using GtkFontChooserButton, the same GtkFontChooserWidget can be
hidden and shown multiple times. When doing that, the font that was
chosen the previous time should be the selected one in the
GtkFontChooserWidget, however this does not work as expected and a
somehow 'random' font gets selected (or none) instead.

Every time the font chooser widget is shown, its style will be updated,
causing gtk_font_chooser_widget_style_updated and then
gtk_font_chooser_widget_load_fonts to be called.

gtk_font_chooser_widget_load_fonts starts by clearing the GtkListStore
listing the available fonts, repopulates it, and then makes sure the
current font is selected.

However, this does not work as expected, as during the call to
gtk_list_store_clear, the cursor_changed_cb will be invoked multiple
times when the GtkTreeView cursor gets moved when the line where the
cursor currently is gets removed. This will cause the 'current font'
state (priv->font_desc) to be unexpectedly modified, and when
gtk_font_chooser_widget_load_fonts tries to reposition the cursor to the
'current font', we won't get the expect result.

This commit avoids that by making sure cursor_changed_cb does not get
called when we call gtk_list_store_clear in
gtk_font_chooser_widget_load_fonts.

https://bugzilla.gnome.org/show_bug.cgi?id=739111

11 years agoFix an out-of-bounds access in MyEnhancedXkbTranslateKeyCode
Matthias Clasen [Mon, 27 Oct 2014 01:48:59 +0000 (21:48 -0400)]
Fix an out-of-bounds access in MyEnhancedXkbTranslateKeyCode

Commits 314b6abbe8d8daae and eb9223c008ccf1c2faab were ignoring
the fact that the code where found is set to 1 was modifying
col - which was an ok thing to do when that part of the code
was still breaking out of the loop, but it is no longer doing
that (since 2003 !). Fix things up by storing the final col
value in a separate variable and using that after the loop.

https://bugzilla.gnome.org/show_bug.cgi?id=738886

11 years agoTest h/vhomogenenous in teststack
Matthias Clasen [Sun, 26 Oct 2014 19:07:26 +0000 (15:07 -0400)]
Test h/vhomogenenous in teststack

Add separate checkboxes for hhomogeneous and vhomogeneous.

11 years agoUse GtkStack:vhomogeneous for popover menus
Matthias Clasen [Sun, 26 Oct 2014 19:03:58 +0000 (15:03 -0400)]
Use GtkStack:vhomogeneous for popover menus

This allows us to get rid of a size group.

11 years agoGtkStack: split homogeneous
Matthias Clasen [Sun, 26 Oct 2014 18:59:21 +0000 (14:59 -0400)]
GtkStack: split homogeneous

Split homogeneous into separate hhomogeneous and vhomogeneous
properties. vhomogeneous is what we want for popover menus.

11 years agopopover: Use the right area for drawing the background
Timm Bäder [Sun, 26 Oct 2014 14:21:06 +0000 (15:21 +0100)]
popover: Use the right area for drawing the background

The border shouldn't be subtracted.

11 years agoGtkBox: Fix self-assignment for center widget
Matthias Clasen [Sun, 26 Oct 2014 00:27:18 +0000 (20:27 -0400)]
GtkBox: Fix self-assignment for center widget

This is happening when glade is loading ui files containing
center widgets.

11 years agoUpdated Czech translation
Marek Černocký [Sat, 25 Oct 2014 22:35:56 +0000 (00:35 +0200)]
Updated Czech translation

11 years agoUpdated Czech translation
Marek Černocký [Sat, 25 Oct 2014 22:35:50 +0000 (00:35 +0200)]
Updated Czech translation

11 years agoGtkPlacesSidebar: Don't crash on dnd
Matthias Clasen [Sat, 25 Oct 2014 19:55:54 +0000 (15:55 -0400)]
GtkPlacesSidebar: Don't crash on dnd

gtk_get_current_event() can return NULL. Don't crash if it does.

https://bugzilla.gnome.org/show_bug.cgi?id=739150

11 years agoRevert "Inspector backend hack"
Matthias Clasen [Sat, 25 Oct 2014 17:58:29 +0000 (13:58 -0400)]
Revert "Inspector backend hack"

This reverts commit f88a5dc8c78e6530baeebb6cba75fe3061926052.

Didn't mean to push this.

11 years agoGtkSpinButton: Set the screen on the panel contexts
Matthias Clasen [Sat, 25 Oct 2014 17:31:57 +0000 (13:31 -0400)]
GtkSpinButton: Set the screen on the panel contexts

Failure to do so results in custom styling leaking through in
the inspector. This is pretty obvious, now that the inspector
is using a separate display connection and is generally isolated
from style changes.

11 years agoInspector backend hack
Matthias Clasen [Fri, 24 Oct 2014 22:00:19 +0000 (18:00 -0400)]
Inspector backend hack

11 years agoBroadway: Remove display assumptions
Matthias Clasen [Sat, 25 Oct 2014 14:31:31 +0000 (10:31 -0400)]
Broadway: Remove display assumptions

In various places, the broadway backend was just using
the default display and assumed that it is the broadway
display. That may not be the case in a multi-backend world,
so instead iterate over all displays and use the first
broadway display - still not perfect, but enough to survive
for now.

11 years agoinspector: Plug a memory leak
Matthias Clasen [Sat, 25 Oct 2014 14:00:57 +0000 (10:00 -0400)]
inspector: Plug a memory leak

11 years agoinspector: Add style classes to the object list
Matthias Clasen [Sat, 25 Oct 2014 14:00:04 +0000 (10:00 -0400)]
inspector: Add style classes to the object list

We have a lot of space here now, so show some
useful information.

11 years agoFix a mixup in popover realization
Matthias Clasen [Sat, 25 Oct 2014 03:36:35 +0000 (23:36 -0400)]
Fix a mixup in popover realization

When the window is on a non-default screen, popover_realize
ended up passing a visual and a parent_window from different
screens into gdk_window_new, which doesn't work. Fix it by
using the visual of the parent window.

11 years agoinspector: Improve details buttons
Matthias Clasen [Sat, 25 Oct 2014 01:52:23 +0000 (21:52 -0400)]
inspector: Improve details buttons

Ensure that the details buttons are only sensitive when
we actually have details to show.

11 years agoinspector: Improve tab switching
Matthias Clasen [Sat, 25 Oct 2014 01:14:16 +0000 (21:14 -0400)]
inspector: Improve tab switching

Switch the object and resource trees away from activate-on-single-click
and add a 'view details' button.

11 years agoX11: Don't assume all displays are X11 displays
Matthias Clasen [Fri, 24 Oct 2014 22:38:15 +0000 (18:38 -0400)]
X11: Don't assume all displays are X11 displays

When iterating over the list of displays gotten from the
display manager, we have to check if what we got is actually
an X11 display.

11 years agoProperly update the style cascade on screen change
Matthias Clasen [Fri, 24 Oct 2014 20:23:07 +0000 (16:23 -0400)]
Properly update the style cascade on screen change

GtkStyleContext was not properly handling the style cascade when
setting a screen, causing the inspector global CSS to affect the
inspector window, even though the inspector is using a different
screen now.

11 years agoFix the build
Matthias Clasen [Fri, 24 Oct 2014 20:12:33 +0000 (16:12 -0400)]
Fix the build

Some forgotten include path adjustments.

11 years agoinspector: Use a separate display connection
Matthias Clasen [Fri, 24 Oct 2014 19:55:31 +0000 (15:55 -0400)]
inspector: Use a separate display connection

This helps isolate the inspector from some of the changes that
it can trigger. To specify a different display, set
GTK_INSPECTOR_DISPLAY to the name of the display to use for
the inspector window. If no display is specified, GTK+ will
use a separate connection to the default display.

11 years agoFix a problem with screen changes and csd
Matthias Clasen [Fri, 24 Oct 2014 17:30:19 +0000 (13:30 -0400)]
Fix a problem with screen changes and csd

When a new screen is set on a window, we unrealize it, to
recreate all the resources. But we don't reset the client_decorated
flag, so realize() doesn't call create_decoration() - which makes
sense, since the decoration already exists. But the side-effect
of create_decoration() is to select the rgba visual, and visuals
are per-screen.

Fix this by looking for the rgba visual in set_screen(), and
replacing it with the rgba visual for the new screen, if necessary.

11 years agostyleproperties: Move into deprecated directory
Benjamin Otte [Fri, 24 Oct 2014 19:31:15 +0000 (21:31 +0200)]
styleproperties: Move into deprecated directory

11 years agostyleproperties: Deprecate
Benjamin Otte [Fri, 24 Oct 2014 19:22:43 +0000 (21:22 +0200)]
styleproperties: Deprecate

11 years agostyleproperties: Remove header where it's not used
Benjamin Otte [Fri, 24 Oct 2014 19:12:44 +0000 (21:12 +0200)]
styleproperties: Remove header where it's not used

11 years agostyleproperties: Remove unused function
Benjamin Otte [Fri, 24 Oct 2014 19:03:36 +0000 (21:03 +0200)]
styleproperties: Remove unused function

11 years agocss: Disallow bypassing value computation
Benjamin Otte [Fri, 24 Oct 2014 18:17:11 +0000 (20:17 +0200)]
css: Disallow bypassing value computation

This special code was added back in the days when computation wasn't
idemptotent. These days it is.

Also, the bypass code path is only used in fallback code that is pretty
much unused.

11 years agocss: Remove unneeded header
Benjamin Otte [Fri, 24 Oct 2014 17:58:54 +0000 (19:58 +0200)]
css: Remove unneeded header

11 years agoUpdated Spanish translation
Daniel Mustieles [Fri, 24 Oct 2014 17:18:54 +0000 (19:18 +0200)]
Updated Spanish translation

11 years agowidget-factory: Add mnemonics in the prefs dialog
Matthias Clasen [Fri, 24 Oct 2014 12:30:10 +0000 (08:30 -0400)]
widget-factory: Add mnemonics in the prefs dialog

This helps testing the mmemonic label display in the inspector,
and is just good practice.

11 years agoInspector: Show more misc info about widgets
Matthias Clasen [Fri, 24 Oct 2014 11:49:37 +0000 (07:49 -0400)]
Inspector: Show more misc info about widgets

This adds clip area, accessible role, mapped, realize,
is-toplevel, child-visible, mnemonic labels and tick
callbacks to the displayed information.

11 years agoAdd private API to query tick callbacks
Matthias Clasen [Fri, 24 Oct 2014 12:00:41 +0000 (08:00 -0400)]
Add private API to query tick callbacks

This information can be useful for debugging purposes.

11 years agowidget-factory: set show-border to false on page 3 notebooks
Lapo Calamandrei [Fri, 24 Oct 2014 11:08:06 +0000 (13:08 +0200)]
widget-factory: set show-border to false on page 3 notebooks

11 years agoRevert "Adwaita: axes borders of notebooks inside frame"
Lapo Calamandrei [Fri, 24 Oct 2014 11:01:41 +0000 (13:01 +0200)]
Revert "Adwaita: axes borders of notebooks inside frame"

This reverts commit 01e6811776cf6ad8738f182972edbb84626d7fae.
This assumption doesn't work latelly

11 years agoUpdated Serbian translation
Мирослав Николић [Fri, 24 Oct 2014 08:38:56 +0000 (10:38 +0200)]
Updated Serbian translation

11 years agoVisual Studio Builds: Update "Installation"
Chun-wei Fan [Fri, 24 Oct 2014 07:59:18 +0000 (15:59 +0800)]
Visual Studio Builds: Update "Installation"

Add the newly-added public headers for GDK and GTK into the list of files
to "install".

11 years agoVisual Studio Builds: Update the gtk3-demo Projects
Chun-wei Fan [Fri, 24 Oct 2014 07:58:20 +0000 (15:58 +0800)]
Visual Studio Builds: Update the gtk3-demo Projects

The gtkglarea and sidebar demos have been added, so build them in the
projects.  Note that the gtkglarea code is not usable under Windows at this
point as implementation is needed for the GDK-Win32 backend.

11 years agoVisual Studio Builds: Link to libepoxy
Chun-wei Fan [Fri, 24 Oct 2014 07:56:46 +0000 (15:56 +0800)]
Visual Studio Builds: Link to libepoxy

Patches have been submitted to the libepoxy project so that it can be built
under Visual Studio.  This will allow the GDK, GTK and gtk3-demo projects
to build, but the gtkglarea code is not usable at this time as
implementation needs to be added to the GDK-Win32 backend for it.

11 years agoFix Up Visual Studio Property Sheets
Chun-wei Fan [Fri, 24 Oct 2014 04:53:15 +0000 (12:53 +0800)]
Fix Up Visual Studio Property Sheets

"Install" gdkbroadwaydisplay.h, as it is a public header of GDK Broadway,
also fix the MSVC 2010+ gtk-copy-gdk-broadway.props property sheet as a
'>' is missing.  Sorry for not noting these issues earlier, as MSVC
Broadway builds were recently restored.  My bad :|

11 years agogtk/deprecated/gtkstatusicon.c: Fix Build on C89 Compilers
Chun-wei Fan [Fri, 24 Oct 2014 04:23:31 +0000 (12:23 +0800)]
gtk/deprecated/gtkstatusicon.c: Fix Build on C89 Compilers

Declare variable at the top of the block, which is needed from the change
in commit 1bad7865.

11 years agodocs: Add replacement example for ImageMenuItem
Emmanuele Bassi [Thu, 23 Oct 2014 16:42:19 +0000 (17:42 +0100)]
docs: Add replacement example for ImageMenuItem

Otherwise we will be doomed to answer the question of how to replace
GtkImageMenuItem for all eternity.

11 years agogdkglcontext-x11: Use epoxy/glx.h rather then GL/glx.h
Rico Tzschichholz [Wed, 22 Oct 2014 18:37:58 +0000 (20:37 +0200)]
gdkglcontext-x11: Use epoxy/glx.h rather then GL/glx.h

11 years agoconfigure: wayland-egl drop version since it is part of mesa not wayland
Rico Tzschichholz [Wed, 22 Oct 2014 18:35:35 +0000 (20:35 +0200)]
configure: wayland-egl drop version since it is part of mesa not wayland

11 years agoUpdated Hungarian translation
Gábor Kelemen [Thu, 23 Oct 2014 10:50:50 +0000 (10:50 +0000)]
Updated Hungarian translation

11 years agoFix to gtkstatusicon.c to allow building both X11 and Quartz backends
Brion Vibber [Wed, 22 Oct 2014 12:36:23 +0000 (05:36 -0700)]
Fix to gtkstatusicon.c to allow building both X11 and Quartz backends

https://bugzilla.gnome.org/show_bug.cgi?id=739005

11 years agoImplement support for ATK_STATE_HAS_TOOLTIP
Joanmarie Diggs [Wed, 22 Oct 2014 03:15:17 +0000 (23:15 -0400)]
Implement support for ATK_STATE_HAS_TOOLTIP

https://bugzilla.gnome.org/show_bug.cgi?id=738982

11 years agoFix mispositioned window menu in hi-dpi
Matthias Clasen [Thu, 23 Oct 2014 02:49:31 +0000 (22:49 -0400)]
Fix mispositioned window menu in hi-dpi

We always want to send the position in device pixels,
so apply the window scale before sending them out.

https://bugzilla.gnome.org/show_bug.cgi?id=738955

11 years agogdk/broadway/toarray.pl: Fix Code Generation for MSVC
Chun-wei Fan [Wed, 22 Oct 2014 12:03:34 +0000 (20:03 +0800)]
gdk/broadway/toarray.pl: Fix Code Generation for MSVC

The current implementation of this script generate headers with \x-escaped
strings that can become too long (> 65535 characters) for Visual Studio
to consume, hence the build of broadwayd would break on Visual Studio.

This changes the script to instead format the string as an array of hex
characters, not unlike what GResource does, so that builds can continue as
normal on Visual Studio builds as well.

https://bugzilla.gnome.org/show_bug.cgi?id=739001

11 years agotests/gtk: Add GdkX11GLContext to the whitelist
Emmanuele Bassi [Wed, 22 Oct 2014 20:20:52 +0000 (21:20 +0100)]
tests/gtk: Add GdkX11GLContext to the whitelist

We cannot create them directly anyway.

11 years agotests/a11y/about: Fix expected text
Emmanuele Bassi [Wed, 22 Oct 2014 20:17:37 +0000 (21:17 +0100)]
tests/a11y/about: Fix expected text

We recently changed the uppercase licensing text to lower case. The
reference test that checks the contents of the about dialog has to be
fixed to reflect that change.

11 years agoGdk: add an experimental backend for mir
Robert Ancell [Mon, 19 May 2014 22:03:30 +0000 (10:03 +1200)]
Gdk: add an experimental backend for mir

This is disabled by default.  Enable with --enable-mir-backend.

This backend is a combined work of Robert Ancell and Ryan Lortie.

11 years agoVisual Studio Builds: Fix broadwayd Build
Chun-wei Fan [Wed, 22 Oct 2014 11:40:48 +0000 (19:40 +0800)]
Visual Studio Builds: Fix broadwayd Build

There is now a broadway-buffer.c source that needs to be built for this, so
add it into the projects.  Since crypt() is no longer used, don't include
crypt.c in the builds, and so clean up the projects a bit.

11 years agoDrop a reference to gtkthemingengineprivate.h
Matthias Clasen [Wed, 22 Oct 2014 05:18:54 +0000 (01:18 -0400)]
Drop a reference to gtkthemingengineprivate.h

That file does not exist.

11 years ago3.15.0
Matthias Clasen [Wed, 22 Oct 2014 03:05:17 +0000 (23:05 -0400)]
3.15.0

11 years agoAdd GtkSidebar to the widget gallery
Matthias Clasen [Wed, 22 Oct 2014 05:11:34 +0000 (01:11 -0400)]
Add GtkSidebar to the widget gallery

11 years agoAdd GtkGLArea to the widget gallery
Matthias Clasen [Wed, 22 Oct 2014 04:55:39 +0000 (00:55 -0400)]
Add GtkGLArea to the widget gallery

11 years agoGtkSidebar: Make docs show up
Matthias Clasen [Wed, 22 Oct 2014 04:45:22 +0000 (00:45 -0400)]
GtkSidebar: Make docs show up

11 years agoDocument gtk_sidebar_get_stack
Matthias Clasen [Wed, 22 Oct 2014 04:36:16 +0000 (00:36 -0400)]
Document gtk_sidebar_get_stack

11 years agoDocument gtk_printer_option_set_get_groups
Matthias Clasen [Wed, 22 Oct 2014 04:34:41 +0000 (00:34 -0400)]
Document gtk_printer_option_set_get_groups

11 years agoFix docs for gtk_settings_set_property_value
Matthias Clasen [Wed, 22 Oct 2014 04:10:49 +0000 (00:10 -0400)]
Fix docs for gtk_settings_set_property_value

11 years agoFix docs for gtk_css_provider_load_from_resource
Matthias Clasen [Wed, 22 Oct 2014 04:06:53 +0000 (00:06 -0400)]
Fix docs for gtk_css_provider_load_from_resource

11 years agoAdd all sidebar API to the docs
Matthias Clasen [Wed, 22 Oct 2014 04:05:09 +0000 (00:05 -0400)]
Add all sidebar API to the docs

11 years agoAdd new papersize api to the docs
Matthias Clasen [Wed, 22 Oct 2014 04:03:52 +0000 (00:03 -0400)]
Add new papersize api to the docs

11 years agoAdd a 3.16 index
Matthias Clasen [Wed, 22 Oct 2014 03:56:17 +0000 (23:56 -0400)]
Add a 3.16 index

We have new GDK api already.

11 years agoSkip GdkX11GLContext in some object tests
Matthias Clasen [Wed, 22 Oct 2014 03:46:11 +0000 (23:46 -0400)]
Skip GdkX11GLContext in some object tests

Since it can't be constructed without specifying a GdkWindow,
which we don't have here.

11 years agoGL: Follow naming conventions
Matthias Clasen [Wed, 22 Oct 2014 03:39:05 +0000 (23:39 -0400)]
GL: Follow naming conventions

All the GDK type defines are GDK_TYPE_..., so follow this
pattern for the GLContext subclasses as well.

11 years agocssnodedeclaration: Fix src/dest swap in memmove()
Benjamin Otte [Wed, 22 Oct 2014 01:38:20 +0000 (03:38 +0200)]
cssnodedeclaration: Fix src/dest swap in memmove()

The main cause here were the wrong style classes being removed, such as
"message-dialog" instead of "csd" for GtkMessageDialog.

11 years agoAdwaita: use -gtk-icon-source: none on paned...
Lapo Calamandrei [Tue, 21 Oct 2014 18:35:02 +0000 (20:35 +0200)]
Adwaita: use -gtk-icon-source: none on paned...

...to get rid of the handle decoration istead of setting a transparent
background and abuse a background image for the background color.

11 years agomodelbutton: Fix up for style context changes
Benjamin Otte [Tue, 21 Oct 2014 18:30:20 +0000 (20:30 +0200)]
modelbutton: Fix up for style context changes

- Don't do work anymore that's done in GtkButton
- Don't do a save/restore just to set the state, instead set the state
  in the right places.

11 years agoinspector: Add missing directory when scanning for themes
Benjamin Otte [Tue, 21 Oct 2014 18:30:07 +0000 (20:30 +0200)]
inspector: Add missing directory when scanning for themes

11 years agoAdwaita: colorswatch on selected elements style fix
Lapo Calamandrei [Tue, 21 Oct 2014 14:34:42 +0000 (16:34 +0200)]
Adwaita: colorswatch on selected elements style fix

11 years agoAdwaita: axes borders of notebooks inside frame
Lapo Calamandrei [Tue, 21 Oct 2014 13:36:22 +0000 (15:36 +0200)]
Adwaita: axes borders of notebooks inside frame

This is what the old adwaita did, not having a better solution for
removing double borders, better to have this back even if it can
be problematic in certain cases.

11 years agoAdwaita: properly fix places sidebar
Lapo Calamandrei [Tue, 21 Oct 2014 11:51:22 +0000 (13:51 +0200)]
Adwaita: properly fix places sidebar

Forgot to treat treeview background... Some code refactoring in
the process.

11 years agoUpdated Indonesian translation
Andika Triwidada [Tue, 21 Oct 2014 12:46:13 +0000 (12:46 +0000)]
Updated Indonesian translation

11 years agowayland: don't init if XDG_RUNTIME_DIR missing
Ryan Lortie [Mon, 20 Oct 2014 21:16:22 +0000 (17:16 -0400)]
wayland: don't init if XDG_RUNTIME_DIR missing

wayland doesn't strictly follow the XDG_RUNTIME_DIR spec by falling back
to another directory in case the runtime dir is not properly set.

When this variable is unset, wayland will log an error to us, which we
treat as fatal, aborting the entire program.

Skip ourselves all the trouble and don't try to bring up the wayland
backend when we know it will fail in this way.

https://bugzilla.gnome.org/show_bug.cgi?id=738873

11 years agogdkglcontext-x11: Fix pixmap creation
Adel Gadllah [Tue, 21 Oct 2014 11:58:28 +0000 (13:58 +0200)]
gdkglcontext-x11: Fix pixmap creation

Always use NPOT textures

https://bugzilla.gnome.org/show_bug.cgi?id=738670

11 years agox11 glcontext: Always use RGBA texture format, as we use alphas
Alexander Larsson [Tue, 21 Oct 2014 11:51:24 +0000 (13:51 +0200)]
x11 glcontext: Always use RGBA texture format, as we use alphas

11 years agoAdwaita: wide paned separator style
Lapo Calamandrei [Tue, 21 Oct 2014 11:25:17 +0000 (13:25 +0200)]
Adwaita: wide paned separator style

...paned separator decoration fixed in the process.

11 years agowayland: Don't try to create a subsurface again
Bastien Nocera [Wed, 17 Sep 2014 16:42:57 +0000 (18:42 +0200)]
wayland: Don't try to create a subsurface again

We already did that inside gdk_wayland_window_create_surface() that's
called 2 lines above.

https://bugzilla.gnome.org/show_bug.cgi?id=738912

11 years agogtkwidget: Fix typo in comment
Bastien Nocera [Tue, 14 Oct 2014 14:47:11 +0000 (16:47 +0200)]
gtkwidget: Fix typo in comment

11 years agocss: Add "-gtk-icon-source: builtin"
Benjamin Otte [Tue, 21 Oct 2014 03:52:05 +0000 (05:52 +0200)]
css: Add "-gtk-icon-source: builtin"

... and make it the default. This takes over the meaning from "none" for
this property in that it draws the fallback builtin image.
"none" now literally means no image will be drawn.

11 years agostylecontext: fix icon-source extents computation
Benjamin Otte [Tue, 21 Oct 2014 03:47:15 +0000 (05:47 +0200)]
stylecontext: fix icon-source extents computation

for the builtin image or invalid matrix case. We used to return invalid
memory in those cases. And that was not good.

11 years agorender: We use CHECKED now, not ACTIVE
Benjamin Otte [Tue, 21 Oct 2014 03:15:37 +0000 (05:15 +0200)]
render: We use CHECKED now, not ACTIVE

Update docs and custom rendering of checkmarks and radio buttons

11 years agoGtkScrolledWindow: Add documentation
Matthias Clasen [Tue, 21 Oct 2014 02:13:51 +0000 (22:13 -0400)]
GtkScrolledWindow: Add documentation

Document the new overlay scrolling APIs, and add some more
documentation for the other touch support: kinetic scrolling
and overshoot.